package com.xigua.chapter_2_adapter.example;

/**
 * @author LiRongHua
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: ${todo}
 * @date 2022/3/2617:59
 */
public class PrintBanner  implements Print  {

    private Banner banner;

    public PrintBanner(String banner) {
        this.banner = new Banner(banner);
    }

    public void printWeak() {
       banner.showWithParen();
    }

    public void printStrong() {
        banner.showWithAster();
    }
}
